Documentation > CMS Template API Library > Out > Write(String,Object[])

Write

Appends the string to the output with the given format string.

public System.Void Write(String,Object[])

Parameters

NameDescriptionType
formattedString The format string, user {0} for 1st parameter, {1} for 2nd parameter and so on. System.String
args The list of arguments for the format string. System.Object[]

Code Example

C#

Sample:

            
            Out.Write("<a href=\"{0}\">some link</a>", tmpAsset.GetLink());
            
            

Connect with Crownpeak